<form autocomplete="off" *ngIf="tempDoc" class="hero-insert-component">
    <mat-form-field>
        <input matInput #input [(ngModel)]="tempDoc.name" [autofocus]="true" name="name" placeholder="Name" />
    </mat-form-field>
    <br/>
    <mat-form-field>
        <input matInput [(ngModel)]="tempDoc.color" name="color" placeholder="Color" />
    </mat-form-field>
    <br/>
    <button mat-raised-button color="primary" (click)=submit()>insert</button>
</form>
